package com.nfit.shopmodel.vo.category;

import com.nfit.shopmodel.entity.product.Category;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * ClassName:CategoryVo
 * Package:com.nfit.shopmodel.vo.category
 * Description
 *
 * @Author L
 * @Create 2024/12/24 19:03
 */
@Schema(description = "移动端分类")
@Data
public class CategoryDTO  {
    @Schema(description = "二级分类id")
    private String id;
    @Schema(description = "二级分类名称")
    private String name;
    @Schema(description = "二级分类图片")
    private String picture;
    @Schema(description = "三级分类集合")
    private List<SubCategoryDTO> children;
}
